package com.xt.purchasingsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xt.purchasingsystem.dto.QualityDto;
import com.xt.purchasingsystem.model.Quality;

import java.util.List;

/**
 * <p>
 * 质检单 Mapper 接口
 * </p>
 *
 * @author yhp
 * @since 2020-05-31
 */
public interface QualityMapper extends BaseMapper<Quality> {

    /**
     * 查询所有未审核的质检单及其明细的方法
     */
    List<QualityDto> getAllNoCheckQualityAndDetails();
}
